package com.woniu.postbar.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.postbar.entity.vo.PostCommentVO;
import com.woniu.postbar.pojo.PostComment;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author wu
 * @since 2023-05-20
 */
public interface PostCommentMapper extends BaseMapper<PostComment> {

    List<PostCommentVO> listAllPostComment();

    void insertPostComment(@Param("list") List<PostCommentVO> postCommentVOList);
}
